<?php
/**
 * @file Statement.php
 *
 * Abstract for representation of SQL-Statements
 *
 * This abstract class contains some common functions that are often used on
 * SQL-Statements.
 *
 * http://code.google.com/p/rpd/wiki/Statement.php
 *
 * New BSD License
 * \n
 * Copyright (c) 2010 Rpd-Team
 *
 * @namespace  rpd
 * @since      0.0.1
 * @version    0.0.1
 */

/**
 *
 * Iterateable statement representation.
 *
 * With this class it's possible to iterate over the result of a dispatched
 * query.
 *
 * @author RMP
 *
 */
abstract class Db_Statement
{
	protected $_line = 0;
	protected $_statement = "";
	protected $_result = NULL;
	private $_current = array();

	function __construct($result, $statement)
	{
		var_dump($result);
		$this->_result = $result;
		$this->_statement = $statement;
		$this->rewind();
	}
}

?>